/*
 * Point3D.cpp
 *
 *  Created on: Apr 29, 2009
 *      Author: wrice
 */
#include "MyVideoTrace.h"
namespace MyVideoTrace {

Point3D::Point3D( float x, float y, float z )
: x_(x), y_(y), z_(z)
{
}

float Point3D::getX() const {
	return x_;
}

float Point3D::getY() const {
	return y_;
}

float Point3D::getZ() const {
	return z_;
}

Point3D Point3D::operator- ( Point3D rhs ) const {
	return Point3D( getX() - rhs.getX(), getY() - rhs.getY(), getZ() - rhs.getZ() );
}


}
